package com.hss.realmtest;

import java.lang.reflect.Array;
import java.util.ArrayList;

import io.realm.RealmList;
import io.realm.RealmModel;
import io.realm.annotations.RealmClass;

@RealmClass
public class Student implements RealmModel {
    public String name;
    public RealmList<Book> books;

    @Override
    public String toString() {
        return "Student{" +
                "name='" + name + '\'' +
                ", books.size()=" + books.size() +
                '}';
    }
}
